import { App } from "vue";
import { registerFormDetailProvider } from "@ibiz-template/runtime";
import FormTabPage from "./i-biz-form-tab-page.vue";
import { FormTabPageProvider } from "./i-biz-form-tab-page.provider";

export const IBizFormTabPage = {
  install(v: App) {
    v.component("IBizFormTabPage", FormTabPage);
    registerFormDetailProvider("TABPAGE", () => new FormTabPageProvider());
  },
};

export default IBizFormTabPage;
